# -*- coding: utf-8 -*-

class VarNumeric(object):
    __curID = 0#GUID()

    def getID(self, prefix=''):
        res = '%s%s'%(prefix, VarNumeric._VarNumeric__curID)
        VarNumeric._VarNumeric__curID += 1#= GUID()
        return res
    
    def reinit(self):
        VarNumeric._VarNumeric__curID = 0#= GUID()

class ConstNumeric(object):
    def __init__(self):
        self.curID = 0#GUID()

    def getID(self, prefix=''):
        res = '%s%s'%(prefix, self.curID)
        self.curID += 1#= GUID()
        return res
    
    def reinit(self):
        self.curID = 0#= GUID()
